/*
 * ch.h
 *
 *  Created on: 2012-3-9
 *      Author: zhangguanxing
 *      Description:
 */

#ifndef GX_H_
#define GX_H_

typedef struct gx_string_s  gx_string_t;
typedef struct gx_array_s   gx_array_t;
typedef struct gx_hash_s	gx_hash_t;
typedef struct gx_hashring_s gx_hashring_t;
typedef struct gx_rbtree_s gx_rbtree_t;
typedef struct gx_rbtree_node_s gx_rbtree_node_t;

typedef struct gx_hash_vnode_s gx_hash_vnode_t;
typedef struct gx_hash_node_s  gx_hash_node_t;

typedef struct gx_globals_s gx_globals_t;
typedef struct gx_log_s gx_log_t;

typedef unsigned char  gx_uint8_t;
typedef unsigned short gx_uint16_t;
typedef unsigned int gx_uint32_t;
typedef unsigned long long gx_uint64_t;
typedef char	gx_int8_t;
typedef short	gx_int16_t;
typedef int		gx_int32_t;
typedef gx_uint32_t gx_rbtree_key_t;
typedef long long gx_int64_t;

//os type
typedef struct sockaddr gx_sockaddr_t;

#include "gx_configs.h"

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#include <assert.h>

#include "gx_string.h"
#include "gx_hash.h"
#include "gx_hashring.h"
#include "gx_array.h"
#include "gx_globals.h"
#include "gx_rbtree.h"
#include "gx_log.h"
#include "gx_os_utils.h"

#endif /* gx_H_ */
